﻿@using System.Web.Mvc
@using System.Web.Mvc.Ajax
@using System.Web.Mvc.Html
@using SharepointPlugin.Models;
@inherits System.Web.Mvc.WebViewPage<SpointItem>
@{
    Layout = "~/Views/Shared/_Layout.cshtml";
}

<h1>@Model.Item.Title</h1>
@if (Model.Items.ContainsKey("StartDate"))
{
    <div>Start on: @Model.Item.StartDate.ToString()</div>
}

@if (Model.Items.ContainsKey("DueDate"))
{
    <div>Due on: @Model.Item.DueDate.ToString()</div>
}

@if (Model.Items.ContainsKey("Description"))
{
    <div>@Model.Item.Description.ToString()</div>
}